package com.jgsu.farm.service;

import com.jgsu.farm.entity.Rule;
import com.github.pagehelper.PageInfo;

public interface RuleService {
    void add(Rule rule);

    void delete(Integer ruleid);

    PageInfo<Rule> selectAll(int page, int pagesize);

    void update(Rule rule);
}
